package com.golxen.framework.activity;

import com.golxen.framework.event.condition.ConditionModule;
import com.golxen.framework.event.condition.IConditionData;
import com.golxen.framework.event.eGamePlayerEventType;
import com.golxen.framework.manager.ManagerPlugin;
import com.golxen.framework.module.ModulePlugin;
import com.golxen.framework.user.player.GamePlayer;
import com.golxen.utils.LogUtil;
import com.mysql.cj.util.LogUtils;

import java.math.BigInteger;
import java.util.HashMap;
import java.util.Map;

public class ActivityPlugin {

    static ActivityPlugin instance = null;

    public static void start() {
        if (instance != null) {
            return;
        }

        instance = new ActivityPlugin();


        ManagerPlugin.registMgr(ActivityMgr.class);
        ModulePlugin.registModule(ActivityModule.class);

    }

    public static boolean active() {
        return instance != null;
    }

}
